package org.redmaple.core.template.service;

import java.util.List;
import java.util.Map;

import org.redmaple.core.retrieving.Sort;
import org.redmaple.core.support.Page;
import org.redmaple.core.support.PageHead;
import org.redmaple.core.template.model.BaseModel;

/**
 * 实现分页机制的Service接口
 * 
 * @author Xiangyun
 *
 * @param <T>
 *            要继承于BaseModel的对象
 */
public interface IPageService<T extends BaseModel> extends IGenericService<T> {
	public Page<T> findPageByCondition(Map<String, Object> filterPropertyMap,
			List<Sort> sortValues, PageHead pageInfo);

}
